github.com/google/go-cmp/cmp.pathStep.typ (field)
15 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L380: step.typ = t.Field(i).Type
compare.go#L437: step := SliceIndex{&sliceIndex{pathStep: pathStep{typ: t.Elem()}, isSlice: isSlice}}
compare.go#L523: step := MapIndex{&mapIndex{pathStep: pathStep{typ: t.Elem()}}}
options.go#L321: step := Transform{&transform{pathStep{typ: tr.fnc.Type().Out(0)}, tr}}
path.go#L154: typ reflect.Type
path.go#L158: func (ps pathStep) Type() reflect.Type { return ps.typ }
path.go#L161: if ps.typ == nil {
path.go#L164: s := value.TypeString(ps.typ, false)
path.go#L187: func (sf StructField) Type() reflect.Type { return sf.typ }
path.go#L218: func (si SliceIndex) Type() reflect.Type { return si.typ }
path.go#L262: func (mi MapIndex) Type() reflect.Type { return mi.typ }
path.go#L275: func (in Indirect) Type() reflect.Type { return in.typ }
path.go#L285: func (ta TypeAssertion) Type() reflect.Type { return ta.typ }
path.go#L287: func (ta TypeAssertion) String() string { return fmt.Sprintf(".(%v)", value.TypeString(ta.typ, false)) }
path.go#L296: func (tf Transform) Type() reflect.Type { return tf.typ }